package com.donnie.shopping.service;

import com.donnie.shopping.entity.vo.FruitOrderItem;

import java.util.List;

/**
 * @description: 计费策略 - 接口
 * @author: ChenDeXin
 * @time: 2025/5/20 10:00
 */
public interface ICalculationStrategy {
    /**
     * 计算费用 <br>
     *
     * @param: orderItems <br>
     * @return java.lang.Double <br>
     * @date: 2025/5/20 10:05 <br>
     * @author: ChenDeXin <br>
     */
    Double calculate(List<FruitOrderItem> orderItems);
}
